package com.ficus.road.maintain.core.model.digitalTwin.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DigitalTwinProfileResponse {
    private Integer roadCount;
    private Integer bridgeCount;
    private Integer totalMileage;
    private Integer assetCount;
    private Integer assetTypeCount;
    private Integer abnormalCount;
    private List<Trend> abnormalTrend;

    private Map<String, Long> fakeElementCount;

    private Map<String, Long> realElementCount;
    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Trend{
        String month;
        Integer count;
    }
}
